<div class="actions">
    {% if object_slug not in list_of_initial_categories %}
        <a class="add-something" href="{{ category.get_update_url }}">Изменить</a>
        {% include 'includes/groups/delete.html' %}
    {% endif %}
</div>
